<gl_voucher>
    <msgheader>
        <sourcesystemid><#if msgheader??>${msgheader.sourcesystemid!""}</#if></sourcesystemid>
        <sourcesystemname><#if msgheader??>${msgheader.sourcesystemname!""}</#if></sourcesystemname>
        <userid><#if msgheader??>${msgheader.userid!""}</#if></userid>
        <username><#if msgheader??>${msgheader.username!""}</#if></username>
        <password><#if msgheader??>${msgheader.password!""}</#if></password>
        <submitdate><#if msgheader??>${msgheader.submitdate!""}</#if></submitdate>
    </msgheader>
    <voucher>
        <master>
            <id><#if master??>${master.id!""}</#if></id>
            <vchrtypecode><#if master??>${master.vchrtypecode!""}</#if></vchrtypecode>
            <vchrnum><#if master??>${master.vchrnum!""}</#if></vchrnum>
            <acctyear><#if master??>${master.acctyear!""}</#if></acctyear>
            <acctperiod><#if master??>${master.acctperiod!""}</#if></acctperiod>
            <createdate><#if master??>${master.createdate!""}</#if></createdate>
            <unitcode><#if master??>${master.unitcode!""}</#if></unitcode>
            <acctbookcode><#if master??>${master.acctbookcode!""}</#if></acctbookcode>
            <createuser><#if master??>${master.createuser!""}</#if></createuser>
            <attachment><#if master??>${master.attachment!""}</#if></attachment>
            <memo><#if master??>${master.memo!""}</#if></memo>
        </master>
        <items>
        <#if items??>
            <#list items as item>
            <item>
                <#list item?keys as itemKey>
                    <${itemKey!""}>${item[itemKey]!""}</${itemKey!""}>
                </#list>
            <#--<id>${item.id!""}</id>-->
            <#--<vchrid>${item.vchrid!""}</vchrid>-->
            <#--<itemorder>${item.itemorder!""}</itemorder>-->
            <#--<subjectcode>${item.subjectcode!""}</subjectcode>-->
            <#--<debit>${item.debit?c!0.00}</debit>-->
            <#--<credit>${item.credit?c!0.00}</credit>-->
            <#--<qty>${item.qty!0}</qty>-->
            <#--<price>${item.price!""}</price>-->
            <#--<currencycode>${item.currencycode!""}</currencycode>-->
            <#--<exchrate>${item.exchrate!""}</exchrate>-->
            <#--<orgnd>${item.orgnd?c!0.00}</orgnd>-->
            <#--<orgnc>${item.orgnc?c!0.00}</orgnc>-->
            <#--<settlementcode>${item.settlementcode!""}</settlementcode>-->
            <#--<settlementno>${item.settlementno!""}</settlementno>-->
            <#--<bizdate>${item.bizdate!""}</bizdate>-->
            <#--<digest>${item.digest!""}</digest>-->
            <#--<bizno>${item.bizno!""}</bizno>-->
            <#--<suppliercode>${item.suppliercode!""}</suppliercode>-->
            <#--<departmentcode>${item.departmentcode!""}</departmentcode>-->
            <#--<customercode>${item.customercode!""}</customercode>-->
            <#--<staffcode>${item.staffcode!""}</staffcode>-->
                </item>
            </#list>
        </#if>
        </items>
    </voucher>
</gl_voucher>

